﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hotel.UI.Common
{
   public enum ResponseCodes
    {
        DEFAULT=0, 
        //400 HTTP_BAD_REQUEST 请求不合法，包体格式错误

        //401 HTTP_UNAUTHORIZED 权限验证失败

        //403 HTTP_FORBIDDEN 鉴权信息不合法，禁止访问

        //413 HTTP_REQUEST_ENTITY_TOO_LARGE 文件大小超长

        //500 HTTP_INTERNAL_SERVER_ERROR 服务内部错误

        //503 HTTP_SERVICE_UNAVAILABLE 服务不可用

        //504 HTTP_GATEWAY_TIME_OUT 后端服务超时

        //599 HTTP_UNKOWN_INTERNAL_SERVER_ERROR 未知服务器内部错误

        //612 HTTP_FILE_NOTEXIST 查无此文件

        //631 HTTP_INVALID_APPID 非法的业务ID

        /// <summary>
        /// 操作太频繁,请稍后再试
        /// </summary>
        ERROR_PROXY_FREQ_CONTROL = -71,


    }
}
